package jwt

type IAlgorithm interface {
	Sign(raw, secret string) (sign string, err error)
	Verify(raw, sign, secret string) (access bool, err error)
}

type IHeader interface {
	GetAlgorithm() string
	GetType() string
}

type IPayload interface {
	GetExpired() int64
}
